additional variables and methods or redefine ("override") an existing method. TC provides the 'inherited' keyword ΓÇö not available in C++ ΓÇö to simplify access to the original method from within an overriding definition.
The scope resolution operator :: is used when defining methods and when calling methods without refering to a particular object. The 'this' identifier is used to refer to the object receiving a message.
Significantly, object identifiers are usually implemented as Macintosh "handles" in TC, which requires care to be taken when taking the address of instance variables or when dynamically allocating elements of an array of instance variables*. This is not generally the case with C++.
TC extends ANSI C with a few non-object-oriented features. TC provides the new storage class 'pascal' and allows Pascal string definitions since the Macintosh Toolbox ROM routines use Pascal calling conventions. TC also provides a special feature to avoid file reinclusion**, especially useful with object-oriented programs. TC supplies extensive specialized libraries for Macintosh programming.